﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CoreShop.Library
{
    public class GlobalConstVars
    {
        /// <summary>
        /// 默认打印机
        /// </summary>
        public const string defaultPrinter = "默认打印机";


        /// <summary>
        /// 程序运行根目录
        /// </summary>
        public static readonly string APP_BASEDIRECTORY = AppDomain.CurrentDomain.BaseDirectory;

        /// <summary>
        /// 创智链ai
        /// </summary>
        public static CzlAIBusiness czlAIBusiness = new CzlAIBusiness();

        /// <summary>
        /// 创智链ai
        /// </summary>
        public static LxxAIBusiness lxxAIBusiness = null;

        /// <summary>
        /// 静态初始化数据
        /// </summary>
        public struct AIData
        {
            #region 创智链AI

            /// <summary>
            /// 创智链ai识别文件路径
            /// </summary>
            public static string CzlAIPath { get; set; } = @"czlai\";

            /// <summary>
            /// 创智链ai识别文件启动路径
            /// </summary>
            public static string CzlSdkFile { get; set; } = "craft_cata_32.exe";

            /// <summary>
            /// 创智链ai识别端口 
            /// </summary>
            public static string CzlAIPort { get; set; } = "17339";

            /// <summary>
            /// 创智链访问url
            /// </summary>
            public static string CzlAIURL { get; set; } = "http://localhost";

            #endregion

            #region 六小象AI

            /// <summary>
            /// 六小象ai识别文件路径
            /// </summary>
            public static string LxxAIPath { get; set; } = @"lxxai\";

            /// <summary>
            /// 六小象ai识别文件启动路径
            /// </summary>
            public static string LxxSdkFile { get; set; } = "sanqingniaosdk.exe";

            /// <summary>
            /// 六小象ai识别端口 
            /// </summary>
            public static string LxxAiPort { get; set; } = "18799";

            /// <summary>
            /// 六小象访问url
            /// </summary>
            public static string LxxAiUrl { get; set; } = "http://127.0.0.1";

            /// <summary>
            /// 六小象访问url
            /// </summary>
            public static string VendorCode { get; set; } = "YZKJ";

            /// <summary>
            /// 六小象访问url
            /// </summary>
            public static string VendorKey { get; set; } = "3bb9ea4d36bd405fb837a1d0f46a0b03";

            #endregion

        }



    }
}
